package tourmsystem.bookingmn.model;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import tourmsystem.bookingmn.controller.SqlConnect;

/**
 *
 * @author Thanh Nga
 */
public class Customer {

    private int ID;
    private String tourId;
    private String Name;
    private int Phone;
    private String Email;
    private String Address;
    private String accountNum;
    private int quantity;

    public Customer() {
        ID = 0;
        Name = "";
        Phone = 0;
        Email = "";
        Address = "";
        accountNum = "";
        quantity = 0;
    }

    public String getTourId() {
        return tourId;
    }

    public void setTourId(String tourId) {
        this.tourId = tourId;
    }

    public Customer(int ID, String Name, int Phone, String Email, String Address, String accountNum, int quantity) {
        this.ID = ID;
        this.Name = Name;
        this.Phone = Phone;
        this.Email = Email;
        this.Address = Address;
        this.accountNum = accountNum;
        this.quantity = quantity;
    }

    public Customer(int ID, String tourId, String Name, int Phone, String Email, String Address, String accountNum, int quantity) {
        this.ID = ID;
        this.tourId = tourId;
        this.Name = Name;
        this.Phone = Phone;
        this.Email = Email;
        this.Address = Address;
        this.accountNum = accountNum;
        this.quantity = quantity;
    }
    

    public String getAddress() {
        return Address;
    }

    public void setAddress(String Address) {
        this.Address = Address;
    }

    public String getEmail() {
        return Email;
    }

    public void setEmail(String Email) {
        this.Email = Email;
    }

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public String getName() {
        return Name;
    }

    public void setName(String Name) {
        this.Name = Name;
    }

    public int getPhone() {
        return Phone;
    }

    public void setPhone(int Phone) {
        this.Phone = Phone;
    }

    public String getAccountNum() {
        return accountNum;
    }

    public void setAccountNum(String accountNum) {
        this.accountNum = accountNum;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public void setInfo(int ID, String Name, int Phone, String Email, String Address, String accountNum, int quantity) {
        this.ID = ID;
        this.Name = Name;
        this.Phone = Phone;
        this.Email = Email;
        this.Address = Address;
        this.accountNum = accountNum;
        this.quantity = quantity;
    }
}
